package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 课程学生中间对象 ds_class_stu
 *
 * @author tyro
 * @date 2025-03-23
 */
public class DsClassStu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long classId;

    /** $column.columnComment */
    private Long studentId;

    private String studentName;

    private String className;

    /** 学院ID */
    private Integer collegeId;

    // getter和setter方法
    public Integer getCollegeId() {
        return collegeId;
    }

    public void setCollegeId(Integer collegeId) {
        this.collegeId = collegeId;
    }

    public void setClassId(Long classId)
    {
        this.classId = classId;
    }

    public Long getClassId()
    {
        return classId;
    }
    public void setStudentId(Long studentId)
    {
        this.studentId = studentId;
    }

    public Long getStudentId()
    {
        return studentId;
    }


    public String getStudentName() {
		return studentName;
	}

    public void setStudentName(String studentName) {
		this.studentName = studentName;
	}

    public String getClassName() {
		return className;
	}

    public void setClassName(String className) {
		this.className = className;
	}
    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("classId", getClassId())
            .append("collegeId", getCollegeId())
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("className", getClassName())
            .toString();
    }
}
